package com.lenovo.lcdm.type.vo;

import java.io.Serializable;

public abstract class AbstractValueView implements Serializable {

    /*
     * 对应globalattriubteId
     */
    private Long attributeId;

    /*
     * 对应globalattriubteName
     */
    private String attributeName;


    public AbstractValueView() {
    }

    public AbstractValueView(Long attributeId) {
        this.attributeId = attributeId;
    }

    public AbstractValueView(String attributeName) {
        this.attributeName = attributeName;
    }

    public AbstractValueView(Long attributeId, String attributeName) {
        this.attributeId = attributeId;
        this.attributeName = attributeName;
    }

    public Long getAttributeId() {
        return attributeId;
    }


    public void setAttributeId(Long attributeId) {
        this.attributeId = attributeId;
    }

    public abstract String getValue();

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public abstract Object getOriginalValue();
}
